package com.wjqy.mapper;

import com.wjqy.entity.*;

import java.util.List;

public interface AdminMapper {
    List<Scenic> findAllScenic();

    List<Scenic> findScenicLike(Scenic scenic);

    int countScenic();

    int insertScenic(Scenic scenic);

    int deleteScenic(int id);

    int updateScenic(Scenic scenic);

    List<Active> findAllActivies(int id);

    int insertActive(Active active);

    int deleteActive(int id);

    int updateActive(Active active);

    List<Recommend> findAllRcmd(int id);

    int insertRecommend(Recommend rcmd);

    int deleteRecommend(int id);

    int updateRecommend(Recommend rcmd);

    int createCDK(List<Cdkey> cdkeyList);

    int changeUserStatus(User user);

    List<User> listVerifyUser();

    int setTopLevel(User user);
}
